package org.woodwhales.king.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

	@GetMapping("/")
	public String index(Model model) {
		model.addAttribute("name", "shiro");
		return "index";
	}

	@GetMapping("/list")
	public String list(Model model) {
		return "list";
	}
}
